package cn.meng.base.vo;

import lombok.Getter;

/**
 * 自定义异常，便于统一处理，后续代码需要抛异常时，统一抛出BussinessException
 * @author 万梦辉
 */
@Getter
public class BusinessException extends Exception{

    private Integer status;
    public BusinessException(Integer status, String message) {
        super(message);
        this.status = status;
    }

}
